.main {
    position: absolute;
    width: 750px;
    height: 100%;
    background-color: #F5F5F5;
    box-sizing: border-box;
    padding-bottom: 331px;


    .home {
        position: fixed;
        width: 155px;
        height: 70px;
        background: rgba(255, 255, 255, 1);
        box-shadow: -1px 0px 7px 1px rgba(222, 222, 222, 1);
        border-radius: 310px 0px 0px 310px;
        top: 20px;
        right: 0;
        text-align: center;
        line-height: 70px;
        font-size: 28px;
        color: rgba(30, 31, 38, 1);
    }

    .kv {
        width: 750px;
        height: 246px;
        background-image: url(../images/goodsKvBg.png);
        background-size: 730px 270px;
        background-position: 10px 12px;
        box-sizing: border-box;
        padding: 0 60px;
        padding-top: 63px;
        padding-bottom: 31px;
        align-items: center;

        .goodsLogo {
            width: 140px;
            height: 140px;
            background: rgba(255, 255, 255, 1);
            border-radius: 100px;
            background-size: contain;
            display: inline-block;
        }

        .goodsNameAndTag {
            margin-left: 30px;
            width: 456px;
            display: inline-block;
            vertical-align: super;

            .goodsName {
                font-size: 32px;
                font-family: PingFangSC-Semibold;
                font-weight: 600;
                color: rgba(255, 255, 255, 1);
                word-break: break-all;
                height: 76px;
            }

            .goodsTag {
                display: flex;
                margin-top: 10px;
                align-items: center;

                .goodsTagNewer {
                    width: 100px;
                    height: 32px;
                    background: linear-gradient(270deg, #426dff 0%, #1837ff 100%);
                    border-radius: 2px;
                    font-size: 22px;
                    font-weight: 400;
                    color: #ffffff;
                    text-align: center;
                    line-height: 32px;
                }

                .goodsTagSeckill {
                    width: 100px;
                    height: 32px;
                    background: rgba(248, 101, 53, 1);
                    border-radius: 2px;
                    font-size: 22px;
                    font-weight: 400;
                    color: #ffffff;
                    text-align: center;
                    line-height: 32px;
                }

                span {
                    font-size: 22px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(255, 255, 255, 0.6);
                    margin-left: 10px;
                }
            }
        }




    }

    .goodsInfo {
        width: 750px;
        height: 100px;
        background: linear-gradient(270deg, rgba(255, 97, 57, 1) 0%, rgba(255, 80, 90, 1) 100%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 30px;

        .price {
            .currentPrice {
                font-size: 40px;
                font-family: PingFangSC-Semibold;
                font-weight: 600;
                color: #fff;
            }

            .originPrice {
                font-size: 24px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: #fff;
                opacity: .5;
                margin-left: 10px;
                text-decoration: line-through;
            }
        }

        .sold {
            .soldBar {
                width: 240px;
                height: 30px;
                border-radius: 17px;
                border: 1px solid rgba(255, 255, 255, 1);
                box-sizing: border-box;
                position: relative;
                overflow: hidden;

                .soldBarBg {
                    position: absolute;
                    left: 0;
                    top: 0;
                    background-color: rgba(255, 255, 255, 0.3);
                    width: 10%;
                    height: 30px;
                }

                .soldBarValue {
                    font-size: 22px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(255, 255, 255, 1);
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }

            .soldNum {
                font-size: 22px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: rgba(252, 252, 252, 1);
                text-align: right;
                margin-top: 6px;
            }
        }
    }

    .describe {
        .describePart {
            padding: 27px 30px;
            background-color: #fff;

            .describePartTitle {
                font-size: 28px;
                font-family: PingFangSC-Semibold;
                font-weight: 600;
                color: rgba(34, 33, 45, 1);
            }

            .describePartContent {
                font-size: 24px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: rgba(34, 33, 45, 0.6);
                margin-top: 13px;
                line-height: 33px;
                word-break: break-all;
                img{
                    width: 100%;
                }
            }
        }
    }
}

.buyBar {
    position: absolute;
    width: 100%;
    padding: 20px 30px;
    background-color: #fff;
    left: 0;
    bottom: 0;
    box-sizing: border-box;

    .recharge {
        background: rgba(30, 31, 38, 0.1);
        border-radius: 4px;
        padding: 20px;
        margin-bottom: 20px;

        &>* {
            vertical-align: sub;
        }

        .rechargeTitle {
            font-size: 28px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: rgba(34, 33, 45, 1);
        }

        input {
            font-size: 28px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: rgba(34, 33, 45, 1);
            background-color: rgba(0, 0, 0, 0);
            outline: none;
            border: 0;
        }
    }

    .redPacket {
        height: 83px;
        border-top: 1px solid #EFEFEF;
        margin-top: 18px;
        box-sizing: border-box;
        padding-top: 20px;
        font-size: 24px;
        color: rgba(34, 33, 45, 1);
        line-height: 33px;

        .name {
            padding-left: 32px;
            background: url(../images/icon_red.png) no-repeat left center;
        }

        .redNum {
            float: right;
            color: rgba(34, 33, 45, .6);

            >span {
                color: rgba(248, 101, 53, 1);
            }
        }
    }

    .count {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .countPrice {
            width: 500px;

            .goodsName {
                font-size: 24px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: rgba(34, 33, 45, 0.6);
            }

            .goodsPrice {
                &>* {
                    line-height: 1;
                }

                .goodsPriceTitle {
                    font-size: 24px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(34, 33, 45, 1);
                }

                .goodsPriceValue {
                    font-size: 30px;
                    font-family: PingFangSC-Semibold;
                    font-weight: 600;
                    color: rgba(248, 101, 53, 1);
                }
            }
        }

        .countTool {
            &>* {
                vertical-align: middle;
            }

            img {
                width: 44px;
            }

            .countNum {
                font-size: 32px;
                font-family: PingFangSC-Semibold;
                font-weight: 600;
                color: rgba(34, 33, 45, 1);
                display: inline-block;
                width: 70px;
                text-align: center;
            }
        }
    }

    .buyButtons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 23px;

        .like {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 66px;

            img {
                width: 32px;
                height: 30px;
            }

            span {
                font-size: 22px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: rgba(34, 33, 45, 0.6);
                margin-top: 10px;
            }
        }


        .toBuy {
            width: 594px;
            height: 80px;
            background: rgba(30, 31, 38, 1);
            border-radius: 40px;
            box-sizing: border-box;
            font-size: 32px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            padding: 15px 0;

            &.seckillSoldOut {
                border: 2px solid rgba(30, 31, 38, 1);
                color: rgba(30, 31, 38, 1);
                background-color: #fff;
            }

            &.orderStateGray {
                background: rgba(188, 188, 191, 1);
                color: #fff;
            }
        }
    }
}